package com.shuoyue.ycgk.ui.recruitment.resume.certificate;

import androidx.annotation.Nullable;

import com.chad.library.adapter.base.BaseViewHolder;
import com.shuoyue.ycgk.R;
import com.shuoyue.ycgk.base.baseadapter.AppBaseQuickAdapter;
import com.shuoyue.ycgk.entity.Cert;
import com.shuoyue.ycgk.entity.Major;

import java.util.List;

public class CertAdapter extends AppBaseQuickAdapter<Cert> {

    public CertAdapter(@Nullable List<Cert> data) {
        super(R.layout.item_cert, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, Cert item) {
        helper.setText(R.id.name, item.getCertName());
        helper.addOnClickListener(R.id.delete);
    }


}
